package cn.yh.shop.product.model;

import java.sql.Timestamp;

/**
 * TCoupon entity. @author MyEclipse Persistence Tools
 */

public class Coupon implements java.io.Serializable {

	// Fields

	/**
	 * @Description: serialVersionUID : TODO
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String info;
	private Timestamp startTime;
	private Timestamp endTime;
	private Integer value;
	private Integer rule;
	private String addPeopleName;
	private Timestamp addTime;
	private String altPeopleName;
	private Timestamp altTime;

	// Constructors

	/** default constructor */
	public Coupon() {
	}

	/** minimal constructor */
	public Coupon(String info, Timestamp startTime, Timestamp endTime,
			Integer value, Integer rule) {
		this.info = info;
		this.startTime = startTime;
		this.endTime = endTime;
		this.value = value;
		this.rule = rule;
	}

	/** full constructor */
	public Coupon(String info, Timestamp startTime, Timestamp endTime,
			Integer value, Integer rule, String addPeopleName,
			Timestamp addTime, String altPeopleName, Timestamp altTime) {
		this.info = info;
		this.startTime = startTime;
		this.endTime = endTime;
		this.value = value;
		this.rule = rule;
		this.addPeopleName = addPeopleName;
		this.addTime = addTime;
		this.altPeopleName = altPeopleName;
		this.altTime = altTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getInfo() {
		return this.info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public Timestamp getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Timestamp startTime) {
		this.startTime = startTime;
	}

	public Timestamp getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}

	public Integer getValue() {
		return this.value;
	}

	public void setValue(Integer value) {
		this.value = value;
	}

	public Integer getRule() {
		return this.rule;
	}

	public void setRule(Integer rule) {
		this.rule = rule;
	}

	public String getAddPeopleName() {
		return this.addPeopleName;
	}

	public void setAddPeopleName(String addPeopleName) {
		this.addPeopleName = addPeopleName;
	}

	public Timestamp getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Timestamp addTime) {
		this.addTime = addTime;
	}

	public String getAltPeopleName() {
		return this.altPeopleName;
	}

	public void setAltPeopleName(String altPeopleName) {
		this.altPeopleName = altPeopleName;
	}

	public Timestamp getAltTime() {
		return this.altTime;
	}

	public void setAltTime(Timestamp altTime) {
		this.altTime = altTime;
	}

}